package com.linewell.util.query;

import java.io.Serializable;

/**  
 * File: ServiceResult.java
 * Description:
 * Copyright: Copyright (c) 2016
 * Company: 南威软件股份有限公司
 * CreateTime: 2016年8月16日 下午2:57:36  
 * @author zgui   
 * @version 1.0
 */

public class ServiceResult implements Serializable {

	/**
	 * 消息
	 */
	private String message;
	/**
	 * 返回对象
	 */
	private Object value;
	/**
	 * 返回码
	 */
	private Integer code;
	
	public ServiceResult(){
		
	}
	
	public ServiceResult(Integer code,String message){
		this.code = code;
		this.message = message;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

}
